package com.ruihui.activity.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cf123
 * @since 2018-09-30
 */
@TableName("ruihui_acgrecord")
public class Acgrecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 商品id
     */
    private Long goodsid;
    /**
     * 用户id
     */
    private Long userid;
    /**
     * 活动商品id
     */
    private Long acid;
    /**
     * 记录时间
     */
    private BigDecimal createtime;
    /**
     * 用户名称
     */
    private String username;
    private String ip;
    /**
     * 状态
     */
    private Integer state;
    private Integer acnum;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Long goodsid) {
        this.goodsid = goodsid;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getAcid() {
        return acid;
    }

    public void setAcid(Long acid) {
        this.acid = acid;
    }

    public BigDecimal getCreatetime() {
        return createtime;
    }

    public void setCreatetime(BigDecimal createtime) {
        this.createtime = createtime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getAcnum() {
        return acnum;
    }

    public void setAcnum(Integer acnum) {
        this.acnum = acnum;
    }

    @Override
    public String toString() {
        return "Acgrecord{" +
        ", id=" + id +
        ", goodsid=" + goodsid +
        ", userid=" + userid +
        ", acid=" + acid +
        ", createtime=" + createtime +
        ", username=" + username +
        ", ip=" + ip +
        ", state=" + state +
        ", acnum=" + acnum +
        "}";
    }
}
